I'd say the first thing we're going to do for our shop is make something that looks like a shop that
people will walk up to.
And then I'm going to have them click on a bell.
So I'm going to come over here.
And this is the modified shack I did in the beginning.
I just basically put some stuff on it so it looks a little bit better.
You guys are welcome to build your own.
But if you don't want to and you just want to follow along, I'll put this link in a file called URLs
in the resources tab of this video.
You can click on it.
It'll say shop.
You'll know what it is and then this will be green says Get you, press it, go to your roadblock studio,
open up the toolbox under inventory will have a shack.
And the only thing that's going to make this or a shop, the only thing that's really going to make
this a shop is I'm going to put a click detector on this bell and then a script on it.
And that's going to make it the shop so you can make anything you want.
Just be aware that we're going to click on something that opens it up and you may even want to put a
sign saying Click for service or something like that.
If your pistol is not working and you want to download mine for your store, I'll put this link in the
URLs file that's on the resources and you can download it, but if yours is working, there's still
something that I want to show you.
I have animations on this pistol.
The animations were published under my account, so if you download the pistol, you're not going to
be able to use the animations until you do something.
That's what I want to show you.
Also, we need an image.
Let's do that now because we want our little tool to have the image when we go to put it in our backpack
and we also want the image in our store.
So I'm going to right click, I'll say save image and you can get any image.
You could get one from the from the marketplace if you want.
Let's go ahead and save this off.
I have it under downloads.
There we go.
I did it before, obviously, for the for a practice run.
And let's go ahead and this will be green.
It'll say get.
If you don't have it, press that.
Now you're going to have that in your toolbox.
We're going to go to our roadblocks, go to the toolbox.
There's my pistol, simple pistol.
Version three, Drag that into the workspace.
Let's take a look.
We have our two scripts.
Let's take a look inside here.
Now, I said the animations won't work.
I published it under my account.
That number that I published is in this and kickback animation that the script uses.
So I put the andm saves the keyframes here in this model so that you can publish it under your account.
All you have to do is right click and then saved a row blocks.
There it is.
You submit now you're going to have an ID under your account.
The players in your games can use the pistols and the animations and everything along with it.
Hit the close, go to your kickback animation, control V and paste it.
Now your animations are going to work.
I don't know how much longer roadblocks is going to keep doing that, but as of now they do it.
I always put the animations of my models inside the model so that you could do that if I put it on the
on the marketplace.
All right.
So we need one more thing, right?
We need our little image on our pistol.
So I select my pistol texture ID, so if we pick this up, we're just going to it's just going to say
simple pistol, we need an image.
And I already uploaded it, but this is how you upload it.
You hit add image, choose file, grab your image.
Open.
And then she got a little one because I had more than one and then create.
Now it's in there.
Now, if we pick this thing up, we're going to see it.
I'm going to drag this down to my.
To my starter pack, so don't have to fumble around for it.
I have to in there.
I'm going to delete the I'm going to delete these two.
Don't worry.
I'm going to show you what to do in a minute.
Let's just pick it up though, so we could see the image.
We got the old one here that just has the text.
We've got the new one and mine fires with the kickback, right?
It would have anyway, because even the last one was under my ID.
So if you're doing a game under team create where a bunch of people are programming, if you do the
animation, if you publish it off under a private account and pull it in, you're still going to have
to do this Republishing under team create.
You should just be aware of that.
We'll turn this off now.
I'm going to put this pistol.
This is the one with my image.
But that's okay if I got the wrong one.
We know how to replace it and I put it in replicated storage because I'm going to use it my store and
then I'm going to delete this from my starter pack.
All right.
Last but not least, let's get our fabulous lemon.
It's basically just a tool that's a lemon that you can carry around.
So you're carrying around a lemon.
I just wanted to sell something else in the store.
We're going to start getting into accessories and tools other than just a pistol.
And then we can sell those things in the store, too.
In the meantime, go to your URLs file, get that link right there.
Hit that green, get I'm logged in under an alt just to make sure that it is green.
It says get.
We're going to go to our roadblocks studio go not output.
Go to home toolbox toolbox.
There we go.
And there's the fabulous lemon.
Boom.
Got it.
I'll close this.
I'll close my output window.
I'll take my fabulous lemon and drag it on down to replicated storage, because that's where we're going
to get it to do the selling.
So we have our fabulous lemon, our simple pistol.
The shop is in the workspace.
We're not going to do anything with that.
We're just we're just going to put some code on that that's going to open our store.
All right.
And the next video, we're going to start doing that coding.